package com.zjj.learn.designmodel.work.command;


public class TurnOffTVCommand implements Command{

    private TV tv;

    public TurnOffTVCommand(TV tv) {
        this.tv = tv;
    }

    @Override
    public void execute() {
        this.tv.turnOff();
    }
}
